home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.graphics.algorithms,comp.lang.c++,comp.os.ms-windows.programmer.graphics,comp.os.ms-windows.programmer.multimedia,comp.os.ms-windows.programmer.win32
- Path: netcom.com!tgl
- From: tgl@netcom.com (Tom Lane)
- Subject: Re: IJG JPEG Engine and Win32
- Message-ID: <TGL.96Jan8083559@netcom23.netcom.com>
- Sender: tgl@netcom23.netcom.com
- Organization: Netcom Online Communications Services
- References: <4cemir$6vb@redstone.interpath.net> <TGL.96Jan3202549@netcom21.netcom.com>
- <TGL.96Jan5065424@netcom21.netcom.com>
- <4cpn1r$gm0@redstone.interpath.net>
- Date: Mon, 8 Jan 1996 16:35:59 GMT
-
- fortunat@interpath.com (Jumpstile Turner) writes:
- > Checking the cinfo structure after it comes
- > back from jpeg_read_header shows that cinfo.image_width and
- > cinfo.image_height are correct, however almost every field with
- > "output_xxxx" is way off, either 1, 0, or some rediculous number
- > like 7988774.
-
- Then you've still got a problem with sizeof(boolean), I'd bet,
- or else a structure packing rule (#pragma pack). Are you sure
- you recompiled everything affected by the header files you changed?
-
- It might help to #include jpeglib.h *before* including any Windows-
- specific headers... if one of their headers is leaving #pragma pack
- in a nondefault state, that could cause this problem.
-
- regards, tom lane
- organizer, Independent JPEG Group
-